//
//  BLBaseListViewDataController.h
//  BasketBallLeagues
//
//  Created by kenshin on 4/27/17.
//  Copyright © 2017 kenshin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KSListViewDataSource.h"
#import "TKBasePageRequest.h"

/// Block of request completion.
typedef void(^BLBaseListViewDataAfterParseCompletionBlock)(id responseObject);

@interface BLBaseListViewDataController : NSObject<KSListViewDataSource>

@property (nonatomic, strong, readonly) TKBasePageRequest *request;

- (instancetype)initWithRequest:(TKBasePageRequest *)request decodeClass:(Class)decodeClass afterParseCompletion:(BLBaseListViewDataAfterParseCompletionBlock)afterParseCompletion;

@end
